home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk24
/
amycal
/
cal.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
1KB
|
81 lines
Cal.doc
Cal is a 100% public domain, do-what-you-will program for
all Amiga computers. Written in Benchmark Modula-2.
By David Czaya (PLINK -Dave- ) July 1988.
If you feel obliged, leave my name in any modications. If not,
don't lose any sleep. Thanks.
Cal is similar to the UNIX command of the same name which prints a
small calendar to the console.
The syntax for Cal is Cal [month] [year]
where [month] is any written month (January, February, etc.)
[month] may be shortened to the first 3 unique characters
and
[year] is any year from 1592 to 9999 (assuming no changes
are made in the next 8000 years or so).
Any [year] in the 20th century may be shortened to the final decade.
For example: Cal January 1988
can be shortened to
Cal Jan 88
Also, typing Cal without any parameters, will print a calendar
of the month the system date is currently set to and it will
highlight the current day as well.
Example 1
1> Cal
AUGUST 1988
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Example 2
1> Cal Feb 1820
FEBRUARY 1820
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29
You can also redirect the output of Cal to another device or file
Example 3
1> Cal >prt:
will print a calendar out on the printer device using the system date.